package com.example.zygh;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import android.view.View;
import android.widget.Button;
import com.example.zyghfeedback.FeedbackList;


public class MainActivity extends AppCompatActivity implements View.OnClickListener {

//    @BindView(R.id.bt_feedback)
    private Button btn_feedback;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
//        ButterKnife.bind(this);
        btn_feedback = findViewById(R.id.btn_feedback);
        //监听事件
        initLogic();

    }

    /**
     * 监听事件
     */
    private void initLogic() {
        btn_feedback.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_feedback:
                startActivity(new Intent(this, FeedbackList.class));
                break;
        }
    }

}



